package com.chenyue.cm.match.service.impl;


import java.io.Serializable;

import javax.annotation.Resource;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chenyue.cm.base.service.BaseServiceImpl;
import com.chenyue.cm.base.dao.LcBaseMapper;
import org.springframework.beans.factory.annotation.Qualifier;
import com.chenyue.cm.match.dao.MatchInfoMapper;
import com.chenyue.cm.match.domain.MatchInfo;
import com.chenyue.cm.match.service.MatchInfoService;
import org.springframework.stereotype.Service;


/**
 * @author chenyue-cm
 */
@Service(value = "MatchInfoService")
public class MatchInfoServiceImpl extends BaseServiceImpl<MatchInfo> implements MatchInfoService {

    private final MatchInfoMapper matchInfoMapper;

    public MatchInfoServiceImpl(@Qualifier("matchInfoMapper") MatchInfoMapper matchInfoMapper) {
        this.matchInfoMapper = matchInfoMapper;
    }

    @Override
    @Resource(name = "matchInfoMapper")
    public void setBaseMapper(LcBaseMapper<MatchInfo, Serializable> baseMapper) {
        this.baseMapper = baseMapper;
    }

}
